home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 46 / CDPowerplay46Disc2.iso / utils / xqxset55 / _SETUP.2 / Group3 / XQ Desktop ToolTips 2.xpl < prev    next >
Encoding:
XSetup plugin  |  1999-08-24  |  1.9 KB  |  61 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="1"
  3. "COUNT"="5"
  4. "UIPATH"="Appearance\Desktop\Tool Tips"
  5. "NAME"="Tool Tips #2"
  6. "VERSION"="2.00"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Recycle Bin"
  9. "TEXT 2"="Internet Explorer"
  10. "TEXT 3"="Outlook 2000"
  11. "TEXT 4"="Briefcase"
  12. "TEXT 5"="Control Panel"
  13. "DESCRIPTION 1"="If you have ActiveDesktop or Windows 2000 installed, a small yellow window (aka Tool Tip) for these items will appear on the desktop if you pass them with your mouse."
  14. "DESCRIPTION 2"="You can change these tips to anything you want."
  15. "AUTHOR"="Xteq Systems"
  16. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  17. "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
  18.  
  19.  
  20. '******************************************************************
  21. '***             !!COPY!! ONLY EDIT LINES BELOW!               ****
  22. '******************************************************************
  23. sVals=Array("{645FF040-5081-101B-9F08-00AA002F954E}","{3DC7A020-0ACD-11CF-A9BB-00AA004AE837}","{00020D75-0000-0000-C000-000000000046}","{85BBD920-42A0-1069-A2E4-08002B30309D}","{21EC2020-3AEA-1069-A2DD-08002B30309D}")
  24. '******************************************************************
  25. '*** Keep an eye on the order (must be the same as "TEXT x") ! ****
  26. '******************************************************************
  27. sP="HKLM\Software\Classes\CLSID\"
  28. sV="InfoTip"
  29.  
  30.  
  31. Sub Plugin_Initialize 
  32.  for i=0 to UBound(sVals)
  33.      Call ReadIt(i+1,sVals(i)) 
  34.  next 
  35. End Sub
  36.  
  37. Sub ReadIt(UI,VAL)
  38.  s=RegReadValue(sp & VAL & "\" & sV)
  39.  Call SetUIElement(UI,s)
  40. End Sub
  41.  
  42.  
  43.  
  44. Sub Plugin_CheckData(ElementIndex)
  45. End Sub
  46.  
  47. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  48.  for i=0 to UBound(sVals)
  49.      Call WriteIt(i+1,sVals(i)) 
  50.  next 
  51. End Sub
  52.  
  53. Sub WriteIt(UI,VAL)
  54.  s=GetUIElement(UI)
  55.  Call RegWriteValue(sp & VAL & "\" & sV,s,1)
  56. End Sub
  57.  
  58.  
  59. Sub Plugin_Terminate 
  60. End Sub
  61.